export type SearchParams = {
  menu_name?: string
  menu_status?: number
}

export type ruleItem = {
  menu_id: number
  parent_id: number
  menu_name: string
  icon: string
  value: string
  menu_type: number
  url: string
  menu_status: number
  sort: number
  create_time: string
  children: Children
}

export type Children = {}

export type ruleIdParams = {
  menu_id: number
}

export type ruleParams = {
  menu_id?: number
  parent_id?: number
  menu_name?: string
  icon?: string
  value?: string
  menu_type?: number
  url?: string
  menu_status?: number
  sort?: number
}

export type VoListItem = {
  menu_id: number
  parent_id: number
  menu_name: string
}
